namespace RBAC.Domain.Dto.Output
{
    /// <summary>
    /// 物料分类列表返回DTO
    /// </summary>
    public class GetMaterTypeListDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 分类编码
        /// </summary>
        public string TypeCode { get; set; }

        /// <summary>
        /// 分类名称
        /// </summary>
        public string TypeName { get; set; }

        /// <summary>
        /// 计量单位
        /// </summary>
        public string Unit { get; set; }

        /// <summary>
        /// 供应方式
        /// </summary>
        public string SupplyMode { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 父级ID
        /// </summary>
        public long? ParentId { get; set; }

        /// <summary>
        /// 子分类列表
        /// </summary>
        public List<GetMaterTypeListDto> Children { get; set; } = new List<GetMaterTypeListDto>();
    }
}